package cn.hinglo.baseservice.config;

import com.jfinal.plugin.redis.RedisPlugin;


/**
 * @author HingLo
 * @createTime: 2018/11/15 13:55
 * @description: Redis 缓存工具启用配置
 */
public class RedisConfig extends RedisPlugin {

    public RedisConfig(String cacheName, String host) {
        super(cacheName, host);
    }

    public RedisConfig(String cacheName, String host, int port) {
        super(cacheName, host, port);
    }

    public RedisConfig(String cacheName, String host, int port, int timeout) {
        super(cacheName, host, port, timeout);
    }

    public RedisConfig(String cacheName, String host, int port, int timeout, String password) {
        super(cacheName, host, port, timeout, password);
    }

    public RedisConfig(String cacheName, String host, int port, int timeout, String password, int database) {
        super(cacheName, host, port, timeout, password, database);
    }

    public RedisConfig(String cacheName, String host, int port, int timeout, String password, int database, String clientName) {
        super(cacheName, host, port, timeout, password, database, clientName);
    }

    public RedisConfig(String cacheName, String host, int port, String password) {
        super(cacheName, host, port, password);
    }

    public RedisConfig(String cacheName, String host, String password) {
        super(cacheName, host, password);
    }
}
